package com.longshihan.news.model.bean;

/**
 * @author Administrator
 * @time 2017/3/20 15:46
 * @des ${TODO}
 * @updateAuthor $Author$
 * @updateDate $Date$
 * @updateDes ${TODO}
 */

public class InitBean {

    private int code;
    private String token;
    private String key;
    private DataBean data;
    private String debug;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getDebug() {
        return debug;
    }

    public void setDebug(String debug) {
        this.debug = debug;
    }

    public static class DataBean {

        private String fileUploadType;
        private FileUploadConfigBean fileUploadConfig;
        private String serviceTel;

        public String getFileUploadType() {
            return fileUploadType;
        }

        public void setFileUploadType(String fileUploadType) {
            this.fileUploadType = fileUploadType;
        }

        public FileUploadConfigBean getFileUploadConfig() {
            return fileUploadConfig;
        }

        public void setFileUploadConfig(FileUploadConfigBean fileUploadConfig) {
            this.fileUploadConfig = fileUploadConfig;
        }

        public String getServiceTel() {
            return serviceTel;
        }

        public void setServiceTel(String serviceTel) {
            this.serviceTel = serviceTel;
        }

        public static class FileUploadConfigBean {

            private String host;
            private String accessId;
            private String accessKey;
            private String bucket;

            public String getHost() {
                return host;
            }

            public void setHost(String host) {
                this.host = host;
            }

            public String getAccessId() {
                return accessId;
            }

            public void setAccessId(String accessId) {
                this.accessId = accessId;
            }

            public String getAccessKey() {
                return accessKey;
            }

            public void setAccessKey(String accessKey) {
                this.accessKey = accessKey;
            }

            public String getBucket() {
                return bucket;
            }

            public void setBucket(String bucket) {
                this.bucket = bucket;
            }
        }
    }
}
